﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace Onshi.POS.Formularios.Recursos
{
    public class BotonBase : Button
    {
        #region Constructores

        public BotonBase()
        {
            HandleCreated += new EventHandler(BotonBase_HandleCreated);
        }

        #endregion

        #region Eventos

        private void BotonBase_HandleCreated(Object sender, EventArgs e)
        {
            Font = Properties.Settings.Default.Fuente;
            ImageAlign = ContentAlignment.MiddleRight;
            TextImageRelation = TextImageRelation.ImageBeforeText;
            Height = 34;
            Width = 100;
        }

        #endregion
    }
}
